<?php
class m_order extends BaseModel{
		protected $_default_table_name = 'orders';
		public $id;
		public $user_id;
		public $paid;
		public $created;
		public $comment;
	}
/*
 CREATE TABLE IF NOT EXISTS `orders` (
  `id` varchar(50) NOT NULL,
  `user_id` int(11) NOT NULL,
  `paid` tinyint(1) NOT NULL DEFAULT '0',
  `created` int(11) NOT NULL,
  `comment` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`)
)
*/
?>